package com.lanhai.model;

import lombok.Data;

@Data
public class Path {
	public int id;
	public String key;//关键字符(起点站ID_终点站ID)
	public String name;//名称
	public String nodeArr;//路径的结点数组，用逗号分隔节点ID
	public int item;//线号（必须与AGV的数据配置）
	
	/**
	 * 线路号包含的路线
	 */
	public String[] itemNote;
   
	public int getId() {
		return id;
	}
	public void setId(int id) {
		this.id = id;
	}
	public String getName() {
		return name;
	}
	public void setName(String name) {
		this.name = name;
	}
	public String getKey() {
		return key;
	}
	public void setKey(String key) {
		this.key = key;
	}
	public int getItem() {
		return item;
	}
	public void setItem(int item) {
		this.item = item;
	}
	public String getNodeArr() {
		return nodeArr;
	}
	public void setNodeArr(String nodeArr) {
		this.nodeArr = nodeArr;
	}
	@Override
	public String toString(){
		return "id:" + id + ",key:" + key + ",name:" + name;
	}
}
